package afcp.alumni.service.impl;



/**
 * Service Factory
 * 
 * @author Antoine
 * 
 */
public class SF {
	
//	private static MemberServiceImpl member = null;
//	private static LoginService login = null;
	private static DefectService defect = null;
//	private static UploadServiceBlobstore upload = null;
//	private static MailService mail = null;

//	public static MemberServiceImpl member() {
//		if (member == null) {
//			member = new MemberServiceImpl();
//		}
//		return member;
//	}

//	public static LoginService login() {
//		if (login == null) {
//			login = new LoginService();
//		}
//		return login;
//	}

	public static DefectService defect() {
		if (defect == null) {
			defect = new DefectService();
		}
		return defect;
	}

//	public static UploadService upload() {
//		if (upload == null) {
//			upload = new UploadServiceBlobstore();
//		}
//		return upload;
//	}

//	public static MailService mail() {
//		if (mail == null) {
//			mail = new MailService();
//		}
//		return mail;
//	}
	
}
